package com.iris.live.services.data.models;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by DF on 11/15/2016
 */
@SuppressWarnings("JpaDataSourceORMInspection")
@Entity
@Table(name = "数据字典表")
public class 数据字典表Model {
    private Integer 字典编号;
    private String 分类编码;
    private String 字典名称;  // 作为显示使用
    private Integer 字典排序;
    private String 字典值;  // 作为数据使用

    public 数据字典表Model() {
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "字典编号")
    public Integer get字典编号() {
        return 字典编号;
    }

    public void set字典编号(Integer 字典编号) {
        this.字典编号 = 字典编号;
    }

    @Basic
    @Column(name = "分类编码")
    public String get分类编码() {
        return 分类编码;
    }

    public void set分类编码(String 分类编码) {
        this.分类编码 = 分类编码;
    }

    @Basic
    @Column(name = "字典名称")
    public String get字典名称() {
        return 字典名称;
    }

    public void set字典名称(String 字典名称) {
        this.字典名称 = 字典名称;
    }

    @Basic
    @Column(name = "字典排序")
    public Integer get字典排序() {
        return 字典排序;
    }

    public void set字典排序(Integer 字典排序) {
        this.字典排序 = 字典排序;
    }

    @Basic
    @Column(name = "字典值")
    public String get字典值() {
        return 字典值;
    }

    public void set字典值(String 字典值) {
        this.字典值 = 字典值;
    }
}
